import {createRouter, createWebHashHistory} from 'vue-router'

import SupplierCheckReport from '../views/SupplierCheckReport/index.vue'
import OrderCheckReport from '../views/OrderCheckReport/index.vue'
import PurchaseRequireReport from '../views/PurchaseRequireReport/index.vue'
import PurchaseManageReport from '../views/PurchaseManageReport/index.vue'
import Home from '../views/Home.vue'

const routes = [
    {
        path: '/',
        name: 'Home',
        component: Home
    },
    {
        path: '/SupplierCheckReport',
        name: 'SupplierCheckReport',
        component: SupplierCheckReport
    },
    {
        path: '/OrderCheckReport',
        name: 'OrderCheckReport',
        component: OrderCheckReport
    },
    {
        path: '/PurchaseRequireReport',
        name: 'PurchaseRequireReport',
        component: PurchaseRequireReport
    },
    {
        path: '/PurchaseManageReport',
        name: 'PurchaseManageReport',
        component: PurchaseManageReport
    }
]

const router = createRouter({
    history: createWebHashHistory(),
    routes
})

export default router